package File;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class ReadFile2 {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		
		String str;
		
		
		FileReader fr = new FileReader("data2.txt");
		BufferedReader br = new BufferedReader(fr);
		
		while((str = br.readLine()) != null){
			System.out.println(str);
		}
		
		fr.close();
	}

}
